<div id="page-login">
	<div class="col-xs-12 col-md-4 col-md-offset-4 col-sm-6 col-sm-offset-3">
		<div class="box">
			<div class="box-content">	
			<?php
		    $attributes = array('class' => 'form-signin', 'role' => 'form', 'id' => 'frm_usuarios');
		    echo form_open($nombre_controlador . '/' . $metodo_validacion, $attributes);
		    ?>
				
			<div class="text-center">
				<h3 class="page-header"><i class="fa fa-user"></i> Login</h3>
			</div>

		      <?php if(isset($error) && $error != '') { ?>
		        <p align="center" class="bg-warning"><?=$error?></p>
		      <?php } ?>

				<div class="form-group">
					<label class="control-label">Usuario</label>
					<input type="text" class="form-control" required autofocus name="txt_usuario" id="txt_usuario" />

					<label class="control-label">Clave</label>
					<input type="password" class="form-control" required name="txt_clave" id="txt_clave" />
				</div>
				<div class="text-center">
					<button class="btn btn-lg btn-default btn-block" type="submit">Iniciar sesión</button>
				</div>

			<?php echo form_close();?>
			</div>
		</div>
	</div>
</div>